﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using MVVM.Core;
using System.ComponentModel;
using ObjectModel.PowerPoint.New;
using ObjectModel.Utilities;

namespace ObjectModel.PowerPoint.New
{
    [XmlInclude(typeof(SimpleTextSource)),
    XmlInclude(typeof(ConstantSource)),
    XmlInclude(typeof(DynamicConstantSource))]
    public abstract class SourceObject : NotificationBase
    {
        public abstract string GetValue();

        public SourceObject Copy()
        {
            return DeepCopy.XmlCopy(this);
        }
    }
}
